

package com.dog.basics.service.wishwash;

import com.dog.basics.bean.dto.admin.wishwash.*;
import com.dog.basics.bean.dto.api.wishwash.ApiBindingCodeDto;
import com.dog.basics.bean.dto.api.wishwash.ApiUserLoginDto;
import com.dog.basics.bean.vo.admin.wishwash.AdminDogHxDevVo;
import com.dog.basics.bean.vo.admin.wishwash.AdminDogHxDevInfoVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.vo.api.wishwash.ApiDogHxDevInfoVo;
import com.dog.basics.common.util.PageParam;
import com.dog.basics.bean.model.wishwash.DogHxDev;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;


/**
 * 设备信息
 *
 * @author cy code generator
 * @date 2021-07-09 17:40:27
 */
public interface DogHxDevService extends IService<DogHxDev> {
    /**
     * @Description: 后台管理分页
     * @Param: status
     * @return: IPage
     * @author cy code generator
     * @date 2021-07-09 17:40:27
     */
    IPage<AdminDogHxDevVo> getAdminPageList(PageParam page, AdminDogHxDevFromDto obj);

    /**
     * @Description: 后台管理查询详情
     * @Param: obj
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:27
     */
    AdminDogHxDevInfoVo getAdminObjXq(Long id);


    /**
     * @Description: 后台管理增加
     * @Param: obj
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:27
     */
    Boolean saveAdminObj(AdminDogHxDevAddDto obj);

    /**
     * @Description: 修改
     * @Param: obj
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:27
     */
    Boolean editAdminObj(AdminDogHxDevEditDto obj);

    /**
     * @功能描述: 授权金额
     * @author He
     * @date 2021/9/23
     */
    Boolean updateMoneById(AdminDogHxDevModeDto obj);

    /**
     * @Description: 删除
     * @Param: ids
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:27
     */
    Boolean deleteObj(Long id);

    /**
     * @功能描述: 绑定代理商
     * @author He
     * @date 2021/7/15
     */
    Boolean editBdAgentIds(AdminDogHxDevBdAgentDto dto);

    /**
     * @功能描述: 绑定场地
     * @author He
     * @date 2021/7/15
     */
    Boolean editBdfieldIds(AdminDogHxDevBdfieldDto dto);

    /**
     * @功能描述: 禁用启用设备
     * @author He
     * @date 2021/7/15
     */
    Boolean editAdminForbidden(Long devId);

    /**
     * @功能描述: 设备登录
     * @author He
     * @date 2021/8/3
     */
    ApiDogHxDevInfoVo getById(ApiBindingCodeDto dto);

    /**
     * @功能描述: 设备绑定
     * @author He
     * @date 2021/8/3
     */
    Boolean editBindingCodeDevice(ApiBindingCodeDto dto);

    /**
     * @功能描述: 管理员登录
     * @author He
     * @date 2021/8/6
     */
    Boolean getLogin(ApiUserLoginDto dto);
}
